package com.lizi.idgenerator.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * 实体基类
 *
 * @author kingman zhangjw@3vjia.com
 * @since 2020-05-29 17:56
 */
public class BaseEntity<T extends Model<?>> extends Model<T> {

    /**
     * id
     */
    @TableId(value="id", type = IdType.AUTO)
    private Integer id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }



}
